# 过滤掉长度小于或等于3的字符串列表，并将剩下的转换成大写字母：
#
# 实例
# names = ['Bob','Tom','alice','Jerry','Wendy','Smith']
names = ['Bob','Tom','alice','Jerry','Wendy','Smith']
new_names = [name.upper() for name in names if len(name)>3]
#print(new_names)



# 2. 计算 30 以内可以被 3 整除的整数：
count = 0
intcount = [i for i in range(30) if i % 3 == 0]
print(intcount)
